package com.equipmentRent.system.domain;

import java.math.BigDecimal;
import lombok.Data;
import com.equipmentRent.common.annotation.Excel;
import com.equipmentRent.common.core.domain.BaseEntity;

/**
 * 订单明细对象 order_detail
 * 
 * @author zxl
 * @date 2025-05-17
 */
@Data
public class OrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 订单号（逻辑关联order.id） */
    @Excel(name = "订单号", readConverterExp = "逻=辑关联order.id")
    private String orderId;

    /**
     * 状态（1：待取，2：待归还）
     */
    private Long status;

    /** 物品ID（逻辑关联item.id） */
    @Excel(name = "物品ID", readConverterExp = "逻=辑关联item.id")
    private Long itemId;

    /** 租赁数量 */
    @Excel(name = "租赁数量")
    private Long quantity;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal dailyRate;

    /** 租赁天数 */
    @Excel(name = "租赁天数")
    private Long days;

    /** 删除标记 */
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    public void setDailyRate(BigDecimal dailyRate) 
    {
        this.dailyRate = dailyRate;
    }

    public BigDecimal getDailyRate() 
    {
        return dailyRate;
    }

    public void setDays(Long days) 
    {
        this.days = days;
    }

    public Long getDays() 
    {
        return days;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }


}
